package test.gateway.a.dtos;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class DateResponse {
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;

    public DateResponse() {
    }

    public DateResponse(Date date) {
        this.date = date;
    }
}
